package com.lj.system.model;


import com.lj.common.annotation.excel.Excel;
import com.lj.common.core.model.BaseModel;
import com.lj.common.enums.excel.ColumnTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置
 *
 * @author 小李飞刀
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysConfig extends BaseModel {

    private static final long serialVersionUID = -2379229179268139296L;

    /**
     * 参数主键
     */
    @Excel(name = "参数主键", cellType = ColumnTypeEnum.NUMERIC)
    private Long configId;

    /**
     * 参数名称
     */
    @Excel(name = "参数名称")
    private String configName;

    /**
     * 参数键名
     */
    @Excel(name = "参数键名")
    private String configKey;

    /**
     * 参数键值
     */
    @Excel(name = "参数键值")
    private String configValue;

    /**
     * 系统内置（Y是 N否）
     */
    @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
    private String configType;
}
